package com.wyh.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wyh.common.request.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 联系人,非好友请求对象 msg_recontact
 *
 * @author WangYuHang
 * @date 2024-03-08
 */
@Data
@ApiModel(value = "联系人,非好友对象")
@EqualsAndHashCode(callSuper = true)
public class MsgRecontactRequest extends PageRequest {



    /**
     * 主键
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 联系人唯一标识
     */
    @ApiModelProperty(value = "联系人唯一标识")
    private String userName;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称")
    private String nickName;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 联系人头像地址
     */
    @ApiModelProperty(value = "联系人头像地址")
    private String avatar;

    /**
     * 是否拉黑
     */
    @ApiModelProperty(value = "是否拉黑")
    private Integer isBlack;

    /**
     * 创建人ID
     */
    @ApiModelProperty(value = "创建人ID")
    private Integer createUserId;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新人ID
     */
    @ApiModelProperty(value = "更新人ID")
    private Integer updateUserId;

    /**
     * 更新时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
}
